package cn.org.eshow.dao;


import cn.org.eshow.bean.query.OrderItemQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.OrderItem;

import java.util.List;

/**
 * An interface that provides a data management interface to the OrderItem table.
 */
public interface OrderItemDao extends GenericDao<OrderItem, Integer> {

	List<OrderItem> list(OrderItemQuery query);

	Page<OrderItem> search(OrderItemQuery query);

    Long count(OrderItemQuery query);
}